<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_组件样式</title>
    <!--先导入boostrap.min.css-->
    <link href="css/bootstrap.min.css" rel="stylesheet"/>
    <!--jquery-->
    <script src="js/jquery-3.4.1.min.js"></script>
    <!--boostrap的js库-->
    <script src="js/bootstrap.min.js"></script>
    <style>
        #daohang{
            background-color: #260C0C;
        }
    </style>
</head>
<body>
    <!--
        按钮组的下列菜单样式

            class="btn-group"按钮组
            data-toggle="dropdown" :下列列表


            class="dropdown-menu"
                下列列表的组件 菜单选项

    -->
    <!-- Single button -->
    <div class="btn-group">
        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            用户管理<span class="caret"></span>
        </button>
        <!---->
        <ul class="dropdown-menu">
            <li><a href="#">添加用户</a></li>
            <li><a href="#">查询所有用户</a></li>

        </ul>
    </div>
<hr/>

<!--导航条组件-->

    <nav class="navbar navbar-default">
        <div class="container-fluid" id="daohang">
            <!-- Brand and toggle get grouped for better mobile display -->

            <!--当屏幕视口缩小,---产生汉堡的样式组件 -->
         <!--   <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    &lt;!&ndash;
                        class="icon-bar"  汉堡的格子
                    &ndash;&gt;
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                   &lt;!&ndash; <span class="icon-bar"></span>&ndash;&gt;
                </button>
                <a class="navbar-brand" href="#">Brand</a>
            </div>-->

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
                    <li><a href="#">Link</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="#">Action</a></li>
                            <li><a href="#">Another action</a></li>
                            <li><a href="#">Something else here</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="#">Separated link</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="#">One more separated link</a></li>
                        </ul>
                    </li>
                </ul>
                <form class="navbar-form navbar-left">
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="Search">
                    </div>
                    <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
                </form>

            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </nav>

<!--分页组件 -->
    <nav aria-label="Page navigation">
        <ul class="pagination">
            <!--
                禁用的状态属性
                class="disabled"
            -->
            <li class="disabled">
                <a href="#" aria-label="Previous">
                    <span aria-hidden="true">上一页</span>
                </a>
            </li>

            <!--页码的激活和

            class="active"
            -->
            <li class="active"><a href="#">1</a></li>
            <li><a href="#">2</a></li>
            <li><a href="#">3</a></li>
            <li><a href="#">4</a></li>
            <li><a href="#">5</a></li>
            <li>
                <a href="#" aria-label="Next">
                    <span aria-hidden="true">下一页</span>
                </a>
            </li>
            <span>总页数 </span>
        </ul>

    </nav>

</body>
</html>